Made SchedulerState singleton.
Refactored SchedulerState