code: function Base(options) {
          this._eventOutput = new EventHandler();
          this._pool = [];
          EventHandler.setOutputHandler(this, this._eventOutput);
          if (options) {
              for (var key in options) {
                  this[key] = options[key];
              }
          }
      }
docs: Base component class