Got basic functionality of the pubsub system working.