Routing: modularity section

The current state of modularity section is bad – it uses static method and a $container. But I don't know how to write an elegant modern alternative which is not too complex.

What you see is an early draft I don't really like.