added db boilerplate