The corporate governmental powers of the city shall be exercised by the mayor and council in the manner provided by charter and by the provisions of this Code and by state law.