added kvs server mode sample