Add Logging

Introduce standard logging.