Revised internal workings and formatting of TimeScheduler