calendar controller and models