Initial code for the new discovery plugin system
Add scan_device