create Generator.java