Quadcopter data to Simulink through Esp8266 and Arduino uno

So in brief I want to send data from the IMU of my quadcopter to the esp8266 and to the computer(Simulink) using UDP connection,

My question: Should I program the esp8266 alone using esp8266wifi.h and wifiudp.h libraries or to program
it with the arduino using SoftwareSerial.h , WifiUdp.h and SerialEsp8266Wifi.h??

Should I program the esp8266 alone

Can the ESP8266 read the IMU data?

i guess so