updating .gitignore
fixed persisting and loading of indexes