Reference.cls by class name support. Model.getcls and known_classes registry implemented