Created a sinatra wrapper