replaced uid to guid in each device and added luid (local UID, id for every device in one category and one guid scope),
synchronization devices list with database (pushing addresses to DB and polling devices name from DB),
sorting devices by guid