reimplemented the generator workflow in Xtend instead of MWE2