Refactored dpxdt tools, started work on image set diff script