setup within sinatra application, finalized exercise