Initial code for event and task relationships and management.  Views to come.