v2 from Mohammed Hamdy, adding old input options, make of non-existant path
Tidies and new options for filtering files; memory database
options to split class tree index at sensible points