Put main into its own Main.java class, changed build file to reflect this