Configurator class cannot be instantiated