use grape api instead of sinatra