Updated config.js so that everything is contained within a ConfigManager class and passed around as a singleton