Remove magic numbers from compareTo.  Add getRelationship() method and enum