add javadocs
Merge pull request #135 from oblonski/master

add javadocs