added a few javadoc comments, corrected the build.xml