The mayor and council shall appoint for an indefinite term an officer whose title shall be city manager and who shall be the head of the administrative branch of the city government. The city manager shall be chosen by the mayor and council solely on the basis of his administrative qualifications with special reference to his actual experience in, and knowledge of, the duties of the office as hereinafter prescribed. At the time of his appointment he need not be a resident of the city, but shall reside therein during his tenure of office. The city manager shall serve at the pleasure of the mayor and council and shall receive such salary as the mayor and council shall fix.