It shall be unlawful and a public nuisance for any person owning, leasing, renting, occupying or having charge or possession of any property in the city to maintain or to allow to be maintained such property in such manner as to constitute an unfit building.