Calendar controller

Finished and tested