Processing and indexing scripts
Added command-line options to primo record processing
Changed categorizer to interval tree for efficiency