create config class