Added worker roles to generate heartbeats and report results to the cloud.