kvstore – basic interface, tests and in-memory implementation