Reorganized DFlatFile to be more extendable along with various other
changes.