Merge pull request #18 from fengjingchao/dev

finish rpc interface
controller init
Merge pull request #19 from xiangli-cmu/controller

controller init