sketched code for partition model
fixed bad copy-pasted sizeof calls
creating storage for partition model classification in mds_apf