Change dedupe class to extract class
Move extract and link to one class
Combine dedupe and link to one stage