added database constants to app.