Added text index creator
Rearranged parameters
Added test
Moved test
Shit works now