automated database setup