For any and every violation of any provisions of this chapter and upon failure to comply with written notice thereof or order to remove such violation within five days after serving 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 any such violation shall exist shall be subject to a fine not exceeding $50 or to imprisonment for not more than 10 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 where such violation occurred has been notified thereof shall be deemed a separate and distinct violation.