added relational tables for event users and case events
simple view event template
starting code to export events to ical