The city council is authorized to own and operate a system of waterworks for supplying water for all purposes to all persons resident in said city and to other persons as may be provided by ordinance. The city council shall have full power to make all rules and regulations for the management and operation of said water plant and to fix from time to time the rates charged for water with the right to classify said rates. Said city council shall have the power to enforce payment for water and shall have the right to require reasonable deposits as well as the power to discontinue service until all amounts due by the consumers whose service is discontinued are paid and until such consumer shall have paid the penalty prescribed.