implemented feature/issue #11 - migrating the DeviceList object from memory to database