Penalties. For any and every violation of any written provision of this chapter and upon failure to comply with written notice thereof or order to remove such violation within five days after service of such notice or order, the owner, agent or contractor of a building, structure, premises, lot or land where such violation has been committed or shall exist and the lessee or tenant of an entire building, structure, premises, lot or land where such violation has been committed or shall exist and the owner, agent or contractor, lessee or tenant of any part of a building, structure, premises, lot or land in which part such violation has been committed or shall exist and the agent, architect, builder or contractor or any other person who commits, takes part or assists in such violation or who maintains any building, structure, premises, lot or land in which such violations shall exist shall be subject to a fine not exceeding $2,000 or to imprisonment for not more than 90 days, or both, and each and every day the violation continues after the owner, agent or contractor of the building, structure, premises, lot or land on which such violation occurred has been notified thereof shall be deemed a separate and distinct violation.