Added JavaDocs to various classes