Updated app to use PubSub pattern