App.commands.addHandler changed to setHandler
fixing module declarations