   Serial.println(F("Starting up."));
 
   setupWifi();
-  connectToServer();
-  delay(DELAY);
 }
 
 void loop() {


int status = WL_IDLE_STATUS;
WiFiClient conn;
TentacleArduino tentacle;
Pseudopod pseudopod(conn, conn, tentacle);


}

void readData() {
  delay(DELAY);
  while (conn.available()) {
    Serial.println(F("Received message"));
    Serial.flush();
    
    pseudopod.readMessage();
  }
}

void connectToServer() {
  int connectionAttempts = 0;
  Serial.println(F("Connecting to the server."));
  Serial.flush();
