code: function MS_lookup(jobTemplate) {
      let emitter = new events.EventEmitter();
      let jobConstraints = {
          "exportVar": jobTemplate.exportVar,
          "scriptHash": jobTemplate.scriptHash,
          "inputHash": jobTemplate.inputHash
      };
      let param = {
          warehouseAddress: addressWH,
          portSocket: portWH
      };
      clientWH.pushConstraints(jobConstraints).on('foundDocs', (nameOut, nameErr, workPath) => {
          emitter.emit("known", nameOut, nameErr, workPath);
      })
          .on('notFoundDocs', () => {
          emitter.emit("unknown");
      })
          .on('cantConnect', () => {
          emitter.emit("unknown");
      });
      return emitter;
  }
docs: /*
  always lookin warehouse first, if negative look in jobsArray
  
  case1) warehouse/-, jobsArray/-              => submit
  case2) warehouse/+, dont look at jobsArray   => resurrect
  case3) warehouse/-, jobsArray/+              => copy jobReference and return it