add index CRUD

 - index checks added (is_index, create, delete)
 - tests improved and scoped