Write a basic working router.