register a configuration class
        :param cls:
        :param name:
        :return:

def register_config(self, cls, name):
        """
        register a configuration class
        :param cls:
        :param name:
        :return:
        """
        self._configs.add(cls)
        self._config_names.add(name)