(a) Except as otherwise provided in this Charter, the mayor and council, by ordinance or resolution, shall prescribe the functions or duties of, and establish, abolish, alter, consolidate, or leave vacant, all nonelective offices, positions of employment, departments, and agencies of the city as necessary for the proper administration of the affairs and government of the city. (b) Except as otherwise provided by this Charter or by law, the heads of departments and other appointed officers of the city shall be appointed on the basis of their respective administrative and professional qualifications. (c) All appointive officers and heads of departments shall receive such compensation as prescribed by the mayor and council. (d) There shall be a head of each department who shall be its principal officer. Each department head shall, subject to the direction and supervision of the mayor and council through the city manager, be responsible for the administration and direction of the affairs and operations of that department head's department or agency. (e) Each department head shall serve at the pleasure of the mayor and council.