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.