The mayor may appoint a city accountant subject to confirmation by a majority of the councilmembers to perform the duties of an accountant.