Structures. The mayor and council shall ha, e tilt! power and authority to enact and enforce all ordinances and resolutions necessary to regulate the safety of all buildings and other structures.