Clean up Main.java file.