Added generic db based config