For any and every offense against the provisions of this chapter,
the owner, general agent or contractor of a building or premises where
such offenses have been committed or shall exist, and the lessee or
tenant of the premises where such offenses have been committed or
shall exist, and the owner, general agent, contractor, lessee or tenant
of any part of the premises in which part said offense has been committed
or shall exist, and the general agent, architect, engineer, surveyor,
building contractor or any other person who knowingly permits, takes
part or assists in any such offense or who maintains any premises
in which any such offense shall exist, shall be guilty of a misdemeanor
which shall be punishable by a fine of not more than $500 or imprisonment
for a period not exceeding six months for each such offense, or by
both such fine and imprisonment.