Sinatra version of API server