Implementation of pubsub that allows for hierarchical categorical publish and subscribe.