The town shall also have the power to condemn as nuisances all buildings, cisterns, wells, and other erections in the town which on inspection shall be found unhealthy, unsanitary, or dangerous to persons or property, and cause the same to be abated or removed, at the expense of the owner, unless the owner thereof, at his or her expense, upon notice and with the sanction of the board of commissioners, shall reconstruct the same in such manner as shall be prescribed by the ordinances and regulations adopted by the town; and as to all buildings, cisterns, wells, and other erections and private improvements to be constructed in the future, they shall have the power and right and it shall be their duty to have the same constructed so as not to interfere with the health of persons or safety of person or property within the town.