now making the application suitable for deploying on sinatra