add relations to models, write query to get events for exegesis