Merge pull request #17 from fengjingchao/dev

prepare prototype and a few other fixes
Merge pull request #19 from fengjingchao/dev

rename prepare to recovery and refactor new instanceinfo
finish simple recvPrepare()
Merge pull request #20 from yifan-gu/dev

finish simple recvPrepare()
finish simple sendPrepare