Build the router declaratively