Adding code for DAQEngine Class