scala kvs