Separating logic from Express routes for easier testing | Hacker News Reader