added thread and driverThread files