added sinatra capability