Define basic flow to search detectors.

#4