added App.java and AppDatabase.java with constructor.