added pom.xml, Generator.java