Don't use require_relative in config.ru since it causes problems in combination with Rack
Got rid of some duplication