Dpc

Cheng Chang completed modularizing DPC code. We are ready for the code review. 

Dantong 
Cheng Chang
Remove file I/O