Checkstyle and javadoc

Checkstyle and javadocs for some of the classes