Add documentation (incompleted), add indexing command, refactor code
1.0.1