A tiny router with nested routes and state.