Add checkstyle and fix all the existing code with rule violates