Be it further enacted by the authority aforesaid that the mayor and council are hereby given authority to pass such ordinances as may be necessary and proper in order to carry the foregoing section into effect; they are also empowered to classify businesses and to arrange the various businesses, trades and professions carried on in said city into such classes of subjects for taxation as they may deem just and proper.