code: public static Model newModel(String text) {
          Model m = new Model();
  
          m.loadModelFromText(text);
  
          return m;
      }
docs: newModel creates a model.
  
  @param text the model text.
  @return the model.