change webmachine rack to support routes.