added Main.java, improved info on readme