Fixing Compensation. The mayor and council of the city shall have the right to elect such municipal officers besides those specified in this Article, as to them seem necessary and proper therefor when necessary, by ordinance, and in the same manner prescribing their duties and fix their compensation.