README update, several java code improvement