updated all core code to use new resource classes.  Added extractRes method to resource interface to facilitate resourceBuff and market order splitting