Define and resolve routes in expressjs using names to decouple URLs.