Add checkstyle config.
Add some logging.