Converted all logging to winston