Code for CalendarApp Part I

As per http://lightbird.net/dbe/cal1.html