Made ScheduleController.php into actual php code.