fun registerConfig(config: Config){
        when(configs[config.name]){
            null -> configs[config.name] = config
            config -> { /* noop */ }
            else -> throw IllegalStateException("Another config with the name ${config.name} already exists! Configs have to use unique names.")