implemented getTasksForProject and getTasksForContext