getting the db setup