Add a method to set the global config object; use it in tests
Rename ConfigBuilder to ConfigManager