Basic xtractore implementation complete

A bit more testing is needed, and the idfile option is not yet implemented, but simple tests are checking out.