The council shall be authorized to provide by resolution, ordinance, or otherwise, suitable regulations for the drainage, sewerage, plumbing, and all that may be needful for improved sanitation, and provide means and agencies for the carrying out and enforcement of the same through the proper officers, and make all necessary inspections; to withhold licenses for plumbing to any but competent persons, and to do all else that is or may be necessary to require compliance by individuals with the rules and regulations thus adopted, and shall have power to make alterations and amendments thereto as from time to time may be needed.