added core DFM class and example usage file