Daemon infra in Python. Can be extended to implement a Daemon (example included)