Adding the CalendarController class and associated test class.