code: async function makeDirTree() {
      console.log('Creating Directory Tree ...');
      let dirTree = {},
          dirs = [],
          relative = '';
      AllFiles = {};
      idx = 0;
      id = 0;
  
      dirs.push({ name: 'root', type: 'dir', path: `.`, files: {} });
      dirTree['root'] = { name: 'root', type: 'dir', path: `.`, files: {} };
      return new Promise(async(res, rej) => {
          console.log('Reading files ...');
          while (dirs.length > 0) {
              let activeDir = dirs.shift(),
                  files = await walkTree(activeDir.path);
              if (files.length > 0) {
                  for (const i of files) {
                      let name = i.type === 'dir' ? i.name : idx++;
                      if (i.type === 'dir' && !i.path.match(/node_modules|.git|bower/)) {
                          dirs.push(i);
                      }
                      activeDir.files[name] = i;
                  }
              }
              dirTree[activeDir.name] = activeDir;
          }
          dirTree = dirTree.root;
          res([dirTree, AllFiles]);
      })
  }
docs: @function makeDirTree - creates the dirTree by reading the paths.
  
  @returns {object} dirTree