code: function Task(init) {
    this.basedir = init.basedir;
    this.bundle = init.bundle;
    this.datasetId = init.datasetId;
    this.pid = init.pid;
    this.nodes = init.nodes;
    this.action = init.action;
    this.outputStreamOk = true;
    this.files = {};      // object in which we store shuffle file informations to be sent back to master
  //  this.lib;         // handler to libraries required on worker side (which cannot be serialized)
  //  this.mm;          // handler to worker side memory manager instance
  //  this.grid;          // handler to socket object instance
  }
docs: function Task(basedir, jobId, nodes, datasetId, pid, action) {