Starting to build the scheduler.