adds javadoc comments in various classes