created app and db