Add generator step

First working version that can be triggered via gradle.