Basic Router implementation.