Adding the logger file that I forgot and fixed not importing the logger into some files