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