add a ConfigModel class.