Added some javadoc and ANT build.xml file.