[daemon] Use daemon switch in start daemon script
[daemon] Add header for the log file, remove unecessary includes