Added all relations between AuthorityMetadataUnits and Entities (which should be renamed to Work). Also made method for easy extraction of all the relations.