Add trivial sinatra app for REST api.