(a) Any person wh o violates any provision of this chapter or fails to comply with the r equirements thereof shall, upon conviction , be fined not more than $500.00 or imprisoned in the city jail for not mor e than 60 days, or both, and in addition shall pay the cost of such action. Each day such violation continues shall be consider ed a separate offense. The owner or tenant of a ny building, structure, premises or pa rt thereof, and any architect, builder, contractor, agent or other person who commits, participates in, assists in, or maintains such violation may each be found guilty of a separate offense and suffer the pena lties provided in this section. (b) In case a ny building or structure is or is proposed to be erected, constructed, reconstructed, alter ed, converted or maintained, or any building, structure or land is or is proposed to be used in violation of this chapter the city building ins pector, city attorney or other appropriate authority of the city or a ny adjacent or neighboring property owner who would be specially damaged by such violation, in addition to other remedies, may institute injunction, ma ndamus or other appropriate action or proceeding to prevent such unlawful er ection, construction, r econstruction, a lteration , conversion, maintena nce or use; or to correct or abate such violation, or to prevent the occupancy of such building, structure or land.