added datbase config to config module