added comments to Relationship class