generator: finish D generator
main: added simple main