Adding calendar controller