A simple pubsub messaging system