Added javadocs and updated to new version