added javadoc to readme