Updated config class to use properties from prop file.