changing the way the constructor handles the config properties to be more consistent with changeConfig