Working on merging multiple detection lists into single list for each exposure. Input part written and compiles.