code: function Wigwam(server, options)
  {
    if (!(this instanceof Wigwam)) return new Wigwam(server, options);
  
    // submodules instances storage
    this.instance = {};
  
    // keep reference to the server
    this.instance.server = server;
  
    // set defaults
    this.options = merge(defaults);
  
    // merge in custom options
    this._mergeOptions(options);
  
    this._init();
  
    // check for handlers in the options
    this._takeHandlers();
  }
docs: main thing