Now storing devices in an arraylist, using the ID as an index.
Updated settingswriter to write device id for setting profle, to xml file
Added device mode, can now create a device.

Currently cannot delete, update or write devices to xml.
Can now delete a setting profile.
Can now update a setting profile.