Working on documentation, testing and demo.
Added the index option.