UART -WIFI -RS232 - Arduino MEGA

I need some help with getting a UART WIFI adapter integrated in to my project.

using the basic serail connections I am able to communicate with the board and connect to the WIFI with no issues, my problems is that it takes over control of the whole Arduino meaning it does not start the loop

void setup() 
{
   Serial.begin(57600);
  Serial.println("StartUP");
}

void loop()
{  Serial.println("Started");}

any Ideas would help

i think i was having a special moment and trying to get a serial wifi to work as a normal wifi if i used it for it intended purpose it would work well.