Scheduler class implemented