re-org dmc_objects files to its own directory
fix issue #10, multiple call to _undoInit()
remove trailing whitespace