Added more low level functionality to the detector module