Io mode

record run result and support io-model