Adding logging to address TODOs.
Also adding SLF4j to dependency management in POM.