Logging

I rewrote notify.py and notify_operator.py files to using logging module and pep8.