update README;
update java doc and comments;