initial setup for application and database