The owner, general agent or contractor of a building or premises where such violation has been committed or shall exist, and the lessee or tenants of the entire building or part of building, and the architect, engineer, builder or any other person who knowingly commits, takes part in, assists in or maintains any such violation may be found guilty of a separate offense and suffer penalties as herein provided.