The mayor and council shall appoint a town attorney at the first scheduled meeting of the calendar year, together with such assistant town attorneys as may be authorized, and shall provide for the payment of such attorney or attorneys for services rendered to the town. The town attorney shall be responsible for representing and defending the town in all litigation in which the town is a party; may be solicitor in the municipal court; shall attend the meetings of the council as directed; shall advise the council, mayor, and other officers and employees of the town concerning legal aspects of the town´s affairs; and shall perform such other duties as may be required of him or her by virtue of his or her position as town attorney. This appointment is terminable at will by the mayor and council.