implemented config class