Added log messages and task name representation
Separated example.py and advanced_example.py

For now they are quite similar, but I will add stuff to the advanced example as
I implement things.