using sinatra to build webapp