adding refactored InstanceManager and router, to support pub/sub worker channels and the redis data store