refining config class