Pass in db config