The city council shall have the authority to regulate and to license the erection and construction of buildings and all other structures; to adopt building, housing, plumbing, electrical, gas, and heating and air-conditioning codes; and to regulate all housing and business trades.