It shall be unlawful to commence the excavation for or the construction of any building or structure, including accessory structures, or to commence the moving, alteration, or repair of any structure, including accessory structures, until the director has issued for such work a building permit containing a statement that the plans, specifications and intended use of such structure in all respects conform with the provisions of this ordinance. For the purpose of this section repair shall be deemed to mean any repair that alters the existing structure. If said repair does not alter the existing structure no building permit will be required. The building permit required is to be administered according to guidelines stated in the State Minimum Standard Building Codes.