Creates and compiles a Java class from user input

Also provides success messages or compiler errors. Also converted
TestTemplate to a class.