Updated javadoc, readme and build file.