IndexedPiece (Barely) Works

Bare minimum index-getting functionality in IndexedPiece.