automatic database setup on application run