rename _shard -> _index and also rename classes and variables

closes #4584