Starts the refactoring/redesign of index