Created Generator.java

Start of the project, most of the source code located in this file.