DbConfig class

Added DbConfig class.