Modularize differential DFXML generator script
Add iterators