Add capability to retrieve tasks and subtasks from the server