The mayor and council shall have the authority to establish by ordinance such departments within the city government as they shall deem necessary and expedient to accomplish any purpose consistent with this charter or the laws of the State of Georgia. The officers, employees, and rules and re~lations, including the fixing of compensation, duties and authority of personnel governing such departments shall be as established by ordinance. The appointment and discharge of all employees shall be within the exclusive authority of the council. In every case where an officer or employee of the city is discharged under circumstances which could be prejudicial he shall have the right to a public hearing before the council upon his written request.