code: public static Scheduler createScheduler(SchedulerFactory schedulerFactory)
        throws SundialSchedulerException {
  
      if (scheduler == null) {
        try {
          scheduler = schedulerFactory.getScheduler();
  
        } catch (SchedulerException e) {
          throw new SundialSchedulerException("COULD NOT CREATE SUNDIAL SCHEDULER!!!", e);
        }
      }
      return scheduler;
    }
docs: Creates the Sundial Scheduler
  
  @param schedulerFactory factory to create the scheduler
  @return