Separated (interface) & reimplemented the index storage as a K/V store
More K/V store implementation and passing tests.