Revised the driver
Added the Debug class for use in debugging