(feat) Implemented Router middleware

Can you comment this? It is a lot of chained functions.
`// Map all captures by the matched parameter`, maybe.