introduce python logging framework

this replaces the "print"-orgys by using the logging feature of python.
also, adds TODO in the transmitter