Updated the pom with checkstyle and fixed a problem with a class.