Added additional comments

Added comments to java files for pdfviewer