Introducting built-in Python CLI module. Updated logging code.

Signed-off-by: Tomasz CEDRO <CeDeROM@tlen.pl>