added daemon support to with wrapper.py to enable start as daemon. Still does not stop properly yet have to fix the thread loop.