Create device.php