Add To and Edit Global Messages

- Add Thread in SyncHandler
Modify Return Type for GetAllTasks

- Modify return type for getTasksService and getCalendarService