code: function getTasksFromArray(cfgArray)
  {
      const tc = TC.TaskCollection();
      // tasks are defined in a datascripture - load it
      const tc2 = TASKS.loadTasksFromArray(cfgArray, tc);
      //this time the preloads come after the custom tasks - could have done it the other way round
      const collection = TASKS.loadPreloadedTasks(tc2);
      return collection;
  }
docs: IN cfg array use a data structure will have the task definitions. This will be passed
  to this function
  
  @param      {array}              cfgArray  The configuration array
  @return     {TaskCollection}     The tasks from array.