add basic pubsub app