added app and db