[task] Refactor OpenAccount, use class replace with global function
[task] re-organize directory structure and introduce thrift
[task] split client and server mode via thrift