Updates processRequest to use new routes.js