Any owner, lessee, contractor or agent or other person who uses or maintains or causes to be used or maintained any building or premises or any part thereof in the Village for any purpose other than uses permitted therefor in this chapter, who erects, enlarges, alters or maintains or causes to be erected, enlarged, altered or maintained any building or any part thereof in the Village except in conformity with the provisions in this chapter or who uses or maintains or causes to be used or maintained any building or any part thereof in the Village which has been erected, enlarged or altered other than in conformity with the provisions of this chapter or who in any manner violates or causes to be violated any provision of this chapter, on conviction, shall be subject to a fine of not more than $500 for each violation, in default of payment of which an individual violator shall be subject to imprisonment for a term not exceeding one day for each $10 of such fine which remains unpaid.