Created calendar controller.