added app and template