var StageManager = function(core){
    this.core = core;
    this.ui = core.ui;
    this.init();
  };