Major rework of the driver interface codebase