moved configs hashmap from dbConfigs to dbManager to prevent gc