update the router to allow for passing a list of extra modules to register commands with