(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 directors of departments and other officers of the city shall be appointed solely on the basis of their respective administrative and professional qualifications. (c) All appointed officers and directors of departments shall receive such compensation as prescribed by ordinance. (d) There shall be a director of each department or agency who shall be its principal officer. Each director shall, subject to the direction and supervision of the mayor, be responsible for the administration and direction of the affairs and operations of the director´s department or agency. (e) All directors under the supervision of the mayor shall be nominated by the mayor with confirmation of appointment by the city council. The mayor may suspend or remove directors under the mayor´s supervision but such suspension or removal shall not be effective for ten calendar days following the mayor´s giving written notice of such action and the reason therefor to the director involved and to the city council. The director involved may appeal to the city council which, after a hearing, may override the mayor´s action by a vote of five councilmembers.