Relationships between domain classes complete

Version 1 is complete.