code: public static final <M> Window createWindow(AbstractViewController<M> viewBinder) {
         Assert.requireNonNull(viewBinder, "viewBinder");
  	   return new DolphinWindow<M>(viewBinder);
      }
docs: The method will create a JavaFX {@link Window} that contains the view of a {@link AbstractViewController} and will automatically call
  {@link AbstractViewController#destroy()} when the stage becomes hidden.
  
  @param <M> type of the model