Foundations for a router application