db config initialization