Implement extractor worker

make use of multi-core
add code to merge files
clean up