cleaned up trajectory action code that was commented out.  This is all still in driver.py
consolidated to a class