The mayor and council shall have the power and authority to enact such reasonable rules and regulations as it may deem necessary or expedient regarding the construction and maintenance of buildings, remodeling of buildings, plumbing and electrical wiring and equipping of buildings, in order to promote the safety and welfare of its citizens and to guard against fire or other property damage. This power may, in the discretion of the mayor and council, be exercised by adoption of any such standard building, housing, gas, heating and air conditioning, electrical, and plumbing codes and all other codes as required by the Department of Community Affairs, and any amendments thereto. The mayor and council shall be empowered to direct the city manager to engage the necessary city personnel to enforce such rules and regulations as adopted and to charge reasonable fees for inspections and permits. The mayor and council may also require the obtaining of a permit as a condition precedent to any construction, building, electrical or plumbing work. The mayor and council may enact all ordinances necessary to enforce such rules and regulations.