Refactored scheduler and RTC.
Removed debug folder.
Removed debug folder completely.