Any building or structure hereafter set up, erected, built, moved, or maintained, or any use of property contrary to the provisions of this chapter, as amended, shall be deemed a public nuisance. The town shall commence action immediately to abate such nuisance, in the superior court or in some other court of competent jurisdiction.