The purpose of this code is to provide minimum standards to safeguard life or limb, health, property and public welfare by regulating and controlling the use of occupancy, location and maintenance of all residential and commercial building and structures within this jurisdiction.