Complete Java docs and remove unnecessary comments from the sorce