Now writing to the k/v store using an ioHandler. And added the "stats" command