refactor: Replace most of routes.js with Triage.