changed variables.framework.routes reference in processRoutes() to getRoutes()

As per the message board, I changed the explicit reference to `variables.framework.routes` in `processRoutes()` to a `getRoutes()` method call. This should make it easier to add routes to a request  in a more dynamic fashion.