The assessment and collection of rates for water, electric power, electric light, gas, or for the product or service of any other plant or works which any such city, town or village may own or operate, shall be under the control and supervision of the board of public works, when such board has been established as herein provided, subject to the ordinances of such city, town or village.