The council shall appoint a town attorney together with such assistant town attorneys as may be authorized by ordinance 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 the Prosecuting officer 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 by virtue of his position as town attorney.