boilerplate db setup