player client javadocs & refactoring