added ClientGenerator javadoc and comment