added app and daemon