Rewrite autoscaling and enable easier configuration of worker selection and autoscaling behaviour

Is this ever used to communicate with the workers?