extract function

Extract or Replace parts of dfts object