Replaced use of Config with new Configuration class