Merge pull request #19 from marco64bit/master

refactor deamon
refactor: replace all print with log: info, debug, warning, error and critical, and write in to a crash_report.log file the errors and criticals logs.