Update the rest of the code to use the new Configuration class.