A city of the first class may regulate, license, or suppress halls, opera houses, places of amusement, entertainment, or instruction, or other buildings except churches and schools used for the assembly of citizens, and cause them to be provided with sufficient and ample means of exit and entrance, and to be supplied with necessary and appropriate appliances for the extinguishment of fire and for escape from such places in case of fire, and prevent overcrowding and regulate the placing and use of seats, chairs, benches, scenery, curtains, blinds, screens, or other appliances therein. A city of the first class may provide that for any violation of any such regulation a penalty of two hundred dollars shall be imposed, and upon conviction of any such licensees of any violation of any ordinance regulating such places, the license of any such place shall be revoked by the mayor and city council. Whenever the mayor and city council shall by resolution declare any such place to be unsafe, the license thereof shall be deemed revoked by adoption of such resolution. The city council may provide that in any case where it has so revoked a license, any owner, proprietor, manager, lessee or person opening, using, or permitting such place to be opened or used for any purpose involving the assemblage of more than twelve persons shall upon conviction thereof be deemed guilty of a misdemeanor and fined in any sum not exceeding two hundred dollars.