adding config class