Added javadoc. Going to add javadoc via nested methods. That means, I'm going in from the outmost methods to the inmost nested methods, and adding javadocs along the way..
Added some more javadocs.