create calendar controller