Fixed date parsing
Refactored logger.
Improved sender parsing & decoding of strings.