Review completely the javalib

Done too.