Cleaning up web.rb