The council may also prohibit within such places or districts as they shall deem expedient, the location of shops; the prosecution of any trade or business; the keeping of lumber yards; and the storing of lumber, wood or other easily inflammable material, in open places, when, in the opinion of the council, the danger from fire is thereby increased. They may regulate the storing of gunpowder, oils and other combustible and explosive substances and the use of lights in buildings; and generally, may pass and enforce such ordinances and regulations as they may deem necessary for the prevention and suppression of fires.