Refactoring of device mapper.
Merge branch 'master' of github.com:dohnto/CDP