Be it further enacted, that said city commission shall have the right and power, in the name and behalf of said city, to make such contracts and do such things as may be necessary or expedient for the peace, good order, health, safety, benefit and general welfare of said city and of the inhabitants thereof; and shall also have the right and power to exercise the full police power of the state within said city, and also to make such rules and regulations, and pass and adopt such by-laws, resolutions and ordinances as may be necessary for carrying out the purposes of the government of said city and conserving, promoting and protecting the welfare, health, morals, peace, advantage and good order of said city and of the inhabitants thereof.