replaced println() with logger.debug() using SLF4J for actual code under src/main/scala. (Ignored test code under src/test/scala)