the webservice rewrite use ruby on sinatra