Revert "finish cache and simple index."

This reverts commit ada1492da49c9bb1cd16bee8ccf4d1cf72769be5.