moves routes mapping from routes.rb to engine.rb

This was done to prevent Rails::Application::RoutesReloader#reload! from loading them twice.