Added a calendarController and its tests