Working on deduplication of Works, trying functional approach to bibframe ingestion, added unit tests