Adding javadoc in build file; some comments