Add router to manager the router table and connections
start refactoring to use the router
Fixes for changes in goshire project.  bug fixes, compiles now