fixing console and web app
sinatra work