The governing body declares the purpose of this code is to protect, preserve and promote the physical and mental health of the people; investigate and control communicable diseases; regulate privately- and publicly-owned structures or dwellings and all premises for the purpose of sanitation, public health and general appearance; protect the safety of the people; and promote the general welfare by legislation that shall be applicable to all dwellings, structures and premises now in existence or hereafter constructed or developed and which legislation:
(a) Establishes minimum standards for basic equipment and facilities for light, ventilation and heating, for safety from fire, for the use and location and amount of space for human occupancy, and for safe and sanitary maintenance;
(b) Establishes standards concerning unsightly and blighted buildings and premises, both residential and nonresidential structures;
(c) Determines the responsibilities of owners, operators and occupants; and
(d) Provides for the administration and enforcement thereof.