The governing body of a city shall take measures necessary to preserve and protect the public health, including the regulation of sanitary matters in the city, and including if indicated, the adoption of ordinances, regulations and orders not in conflict with general laws.