added setEvent, updated getSlots and setMatCalendar