code: function _setEvents(eventsArray){
  
      for (let i = 0; i < eventsArray.length; i++){
  
          let event = eventsArray[i];
          dataManager.registerEvent(event[0], event[1], event[2]);
  
      }
  
  }
docs: collects the events from the given array and adds to datamanager