move proxy to service
change selector to interface
Merge pull request #12 from xiangli-cmu/master

move proxy to service