Changed to Java 8 and fixed build errors associated with change. Also formatted readme.