Added javadoc comments and javadoc to build.xml