Added javadoc

Hopefully that's a good start... 
Confused... what does this mean?