build light weight sinatra API