Establishing a code to govern the construction, alteration, addition, repairs and equipment, and repealing all ordinances now in force affecting or relating to the construction, alteration, addition, repairs and equipment or removal of buildings or other structures, etc., etc.