Refactor and initial shareable indices changes.
Merge pull request #16 from kryptnostic/feature/shareable-indices

Refactor and initial shareable indices changes.