03-04 Created reference to app delegate. Created function to retrieve events from core data.