first version of the indexed storage layer