Issue95 inline extensions

This PR is now based on the new Groovy DSL.
It is possible to define extensions inline but also to refer to separate files containing extensions in this DSL.
I find that strange. 

Maybe leave it asis. We can also refactor after merge if need be.