Checkstyle and javadoc

more javadocs and checkstlye