add checkstyle and fix errors