code: function Gateway(opts) {
  
      this.controllers = []; // Hold controller objectHandler by device name
      this.activeClients = []; // Hold all active clients sort by uid
  
      // Add DebugTool to log messages
      this.uid  = "Gateway:" + opts.name;
      this.debug =  opts.debug;   
      
      // simple counter for job queue
      this.request = 1;
      
      // Database backend and user event handler are shared amont all servers
      this.event = new EventEmitter();
      this.opts     = opts;
      
      // Compute some opts and provide some defaults
      this.opts.name       = opts.name         || "Gateway-Track";
      this.opts.debug      = opts.debug        || 1;      // default 1
      this.opts.backend    = opts.backend      || "file"; // file-backend.js
      this.opts.inactivity = opts.inactivity   || 600;    // default 10mn
        
      // Call constructor
      this.Gateway (opts);
  }
docs: Main user entry point to create gpstracking service