Saving simple fields and disks in Device.save_data
Refactor the scan data handling, move the functions to a separate module