Class rename.
Some name bugs fixed.
Add index exists check.
If not initialized, than create the indices.