Applied the Java plugin.
Added more things for Git to ignore.
Moved Java class files to conform to a more standard project layout.