refactoring daemons/hpfeeds_subscribe.py