router and pubsub store