[+TASK] removed doctrine dependency from device service