Initial commit of worker, migrated from core project.