Remove function fallback

Use the 'app' global. url_route -> app.url.route, former_open ->
app.former.open.
No magic, just using the IoC Container