Merge pull request #24 from xiangli-cmu/master

router rpc
Merge pull request #25 from fengjingchao/dev

controller registrater functions