Add autoscale class and setup.py