Refactory Scheduling/DefaultScheduleService.cs and Worker.cs