add javadocs
Merge pull request #136 from oblonski/add-java-doc

add javadocs