Break generic library parts out of the MotionMasks source tree to create DPTLib.