Added prototype systemctl file.
Improved exception handling in the client.
Some improvements on logging and exiting on the daemon.