added javadocs

java docs ! :dancer: