Fix chechstyle violations and add a lot of javadoc.