Create device.c