Make it possible to call a fn to redefine the routes after app is booted

- Useful for REPL