Refactoring YouTube Scheduler