Created Device object, route memory allocations and CodeObject through
the device