adding a config class