Modified interface SchedulerAlgirithm and class Schduler