added javadoc
Merge pull request #51 from hazarij/master

Added javadoc as per earlier code review