Refactoring repo to add the Logger class