Add and update javadoc, check author names, do some code formatting