Basic autoscaling support

I've roughed in the beginnings of autoscaling support as I needed it.  Thought it might be useful to others.  If I've diverged too much from the preferred style, please let me know.