refactored addEventsToCalendar method
added licenses