Extracted Logging to new module. Fixed scala compilation in maven