(a) Except as otherwise provided herein, the mayor and council shall by ordinance prescribe the functions and duties and establish, abolish, or alter all nonelective offices, positions of employment, departments, and agencies of the city as necessary for the proper administration of the affairs and government thereof. (b) Except as otherwise provided herein or by other law, the department heads and other officers of the city shall be appointed solely on the basis of their administrative and professional qualifications. (c) All appointed officers and department heads shall receive such compensation as is determined by the mayor and council. (d) There shall be a director or head of each department or agency who shall be its principal officer. Each department head shall be responsible for the administration and direction of the affairs and operations of his or her department or agency, subject to the direction and supervision of the mayor or city manager, if the city decided to create such a position in the future.