Adding few comments
TextFileIndex refactoring
Adding usage msg for main class
Refactoring: reduce coupling, some RSP and more