IndexDict.__iter__ change
restructuring the module
updated