(h)licensing, controlling or, in order to prevent the obstruction, inconvenience, annoyance, risk, danger or damage of the residents of passengers in the vicinity, prohib-iting the carrying in streets and public places of gunpowder or any other explosive substance;