The mayor may appoint and the city council shall confirm a city accountant to perform the duties of accountant.