Said mayor and council may by ordinances provide for enforcing the provisions of sections 22, 23, 24, 25, 26, 27 and 28 [sections 2-331 to 2-336] of this act by prescribing penalties for those who may engage in, or attempt or offer to engage in, any of the callings, professions or businesses therein mentioned without first having taken out the license required by the law or without having registered, if that be required. Also to provide for the collections therefor, as executions are issued, levied and collected for ad valorem taxes. Said mayor and council shall have power and authority to revoke any license granted under the provisions of this charter, for any violation of the laws or ordinances regulating the granting or issuing of said licenses.