### Current Situation `CompiledRoute.resolve` currently returns a tuple, but we should rewrite it in a more robust way. ### Proposed Actions Utilize a dataclass instead of a tuple. This could potentially be named `MatchedRoute`. This dataclass should contain the following attributes: `element`, `parameters`, `path`. Related issue: #35