To provide a system for the inspection of buildings, to insure their safety and incombustibility, and for the appointment of one or more building inspectors; to prescribe the limits within which buildings shall not be constructed or reconstructed, or into or within which the same shall not be removed, except of incombustible materials with fire-proof roof; and any building erected, reconstructed or removed into or within such limits, contrary to the provisions of any ordinance forbidding the same, shall be a public nuisance and abatable as such.
53 P.S. § 23151