Move msg.py into common stuff.
Fix import of DMP.