Initial trigger implementation

This change has some minor changes to import and the driver
abstract classes, and has a likely non-working version of the
trigger class.