Pwh/aws

Moved to more generic run.py and action.py.  Added class parameter.