changed the way the oddrdeviceservice is injected