Merged host_dbwriter.py into collector-service.py