updated release.sh script
improved javadocs