added a configManager to parse config files