[FIX] Fix create index

- create_index and open_index bad imports
- create temporal file
- added redis url by parameter no envvar