Added javadoc comments. Yay javadoc comments!