I don't want to rewrite manually all my routes, but dynamically load them as next does. how to do it?