Added code to call the scheduler and then to fetch the combined scheduled tasks AND events from the back-end.