fix javadoc to reflect the new code structure