generation of index; querying index; restructured model dirs for OpenNLP