Generator divided into several classes, also added simple pom.xml generation