Added checkstyle config and fixed all violations.