[WIP] ENH : first pass a getting import hooks to work

Does some magic to hide the fact that we are importing from a yaml file.
`dn` stands for what?