turns out sinatra has an url helper method, so we can get rid of that call env.merge hack on the root_url
and because of the in the last commit mentioned url helper method we can happily remove the  hack. isn't it lovely?