The council may enact such ordinances, and adopt such resolutions, as may be necessary for the care, protection, preservation, and control of the water works, and all the fixtures, appurtenances, apparatus, buildings, and machinery connected therewith or belonging thereto, and to carry into effect the provisions of this chapter, and the powers herein conferred in respect to the construction, management and control of such water works.