Ordinances and regulations controlling the design, construction, materials, alteration and occupancy of any structure, for the protection of public health, safety, and welfare. Building codes include technical standards for electrical, heating, plumbing and sanitary work