New version with improved parser and use of text library.
This is the first working (prototype) version of HsIndex.