Add a driver class.

This makes the drive code easier to read.