Add logger
Update logging
Update logging
Bugfix
Update sample files