adding new Driver for controller

this code contains an update for the controller driver and also
includes examples on external interrupts and timer interrupts