created pubsub and directory watcher app