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

I think we should use the American spelling.