The Java implementation almost done. Some points in the presentation jayer to fix!