With the approval of the Mayor or Town Council, or when directed by them, to institute in the name of the Town any appropriate action or proceedings to prevent the unlawful erection, construction, reconstruction, alteration, repair, conversion, maintenance or use of any structure or building, and to restrain, correct or abate such violations as to prevent the occupancy of any such building, structure or land, or to prevent any illegal act, or conduct business or use in or about such premises.