move mdm to its dir
add slot
add manifest
fix ${S}
at least works now