When any structure in the town is found to be unfit or unsafe by the building official,
such structure shall be deemed to be in violation of this code, and the building official
shall require the repair, securing, demolition or removal thereof. For purposes of
this article, the term "building official" means a building official as that term
is used in the state building code, and the term "code official" means the person
appointed by the town council to enforce the codes of the town. In this article, the
term "structure" includes all buildings, dwellings, accessory structures, pools and
spas, and any part or portion thereof. A structure shall be deemed unfit or unsafe
when any part of it, by reason of inadequate maintenance, acts of God, fire, age,
decay, filth, deterioration, structural defects, improper design, unstable foundation,
mold, termites, affording the opportunity of being a nuisance to the public or a haven
for vagrants or criminals, or other causes, shall be dangerous to the occupants thereof,
or to surrounding buildings and the occupants thereof, a menace to public health,
a fire hazard, or so unsafe as to endanger life or property, or render the use of
the public streets dangerous.