Be it further enacted, that the mayor and council of said city shall have the full right and power, by ordinance, to regulate all vehicles of every kind and description used in the city for hire or profit in the transportation of passengers, fright, drayage, either or all of them; to provide for the inspection of same, and to fix the rates of fare and carriages thereon, and to fix and prescribe penalties for violation thereof.