Added Main.java and other initial code