abstracting express/routing