Added first support for app scoped data

* URL generator
* Export the function to the twig extension
CS updates