added sinatra for web version