Modified the root component to confirm with the new routing model