A daemon  framework for python