Reads configuration settings into a new instance of the configuration object.