Working on checkstyle

Added javadocs for all methods