Move all index functionality into it's own namespace.
Merge pull request #11 from dickolsson/2358939-change-index-workspace

Issue #2358939 by jeqq: Move all index functionality into it's own namespace.