Got the app to work with the database
The db structure and data