The purpose of this article shall be to ensure that all vacant structures will be kept weathertight and secure from trespassers, safe for entry by police officers and fire fighters in times of emergency, and to ensure that the structure and its contents do not present a hazard to the public during the time that the building remains vacant.