config class