Easy to use daemon class in Python 3