Changed export to Logger class and renamed file to logger.js to make some more sense