refactor our device map object
rename device_mapping to udev mapping to avoid confusion
fix typo
fix tests