The council shall prescribe by an ordinance the powers to be exercised and the duties to be performed by the officers appointed or elected so far as such duties and powers are not prescribed by law.