Added Route interface, and changes to router.