A municipality may, by general ordinance:

A. require the owner, agent or occupant of a building on a lot or land adjoining a street in which a sewage collection system exists to connect the building to the sewage collection system; and

B. adopt necessary rules and regulations relating to the connection, use, injury, maintenance, supervision and inspection of the sewage facilities.