add config class implementation