add server
init client
refactor java
add buffer check
add pom
Merge remote-tracking branch 'origin/master'