move rest service api to a independent class
Merge branch 'master' of https://github.com/cloudmesh/cloudmesh