finish java client and test
add java client demo to readme
fix #6; refact nodejs client
fix #7