Rearrange the code into different packages.
Modify the ContentHandler, choose the primary key as output folder name.
No deduplication currently (only exact match for primary keys).