An Act amending the act of April 14, 1937 (P.L.313, No.87), entitled, as amended, "An act to enable cities of the first, second, and second class A, incorporated towns, boroughs, and townships, to govern and regulate by ordinance the construction, alteration, repairs, occupation, maintenance, sanitation, lighting, ventilation, water supply, toilet facilities, drainage, use and inspection of all buildings and housing and land appurtenant thereto;....," providing for compliance with building codes in second class A cities; and imposing penalties.