Revert "Create generator"

This reverts commit 13c1b4bdb2bfbc4bd6a0aa5d988daadc45e48bc3.
Revert "Revert "Create generator""

This reverts commit 478bb550c89f3a8c15e3c49e1a0e4548cacc9dba.