First try of the calendar module

New code, new bugs