(a) Except as otherwise provided in this charter, the city council, by ordinance, shall prescribe the functions or 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 of this 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 solely on the basis of their respective administrative and professional qualifications. (c) All appointed officers and heads of departments shall receive such compensation as prescribed by ordinance. (d) There shall be a head of each department or agency who shall be its principal officer. Each department head shall, subject to the direction and supervision of the mayor, be responsible for the administration and direction of the affairs and operations of his or her department or agency. (e) The power to employ or to discharge any employee of the city is vested in the city council. The city council may promulgate such policies as necessary for the administration and direction of the affairs and operations of the city and its employment practices.