Refactoring. Extracting calendar events and contacts as separate clases