Server and clients are working.

minor fixes at sys outs.
Javadoc still not complete.