Added javadoc

Hopefully that's a good start... 
Too much <p>?