Adding database to app.