kvstore: improve pkg doc and minor refactoring (rename interfaces)