Set up some calendar code