create DeviceViewController and DetailDeviceViewController