CAL-861 implement getEvents, getTasks for rest api