added db configuration.