Added comments and JavaDocs

Basic comments and JavaDocs have been added for the majority of custom
classes