Added DatabaseConfig class.