This is a background worker module designed to work in a node environment