   delay(512);
 
   // Setup objects and verify working condition.
-  setup_sd_card();
+  setup_objects();
   
   // Setup() the custom data structures.
-  for (custom::Setupable* obj : setupables) {
-    obj->Setup();
-  }
+  //for (custom::Setupable* obj : setupables) {
+  //  obj->Setup();
+  //}
 
   Serial.println();
   Serial.println("SETUP COMPLETE.");

// For more info, see "setupable.h".
//custom::Setupable* setupables[] = {  };

// Setup MicroSD card I/O. Trap the thread if no card is found.
void setup_sd_card(void) {
  if (!sd_card.begin()) {
    Serial.println("ERROR: SD card could not be found.");
    while (1) { /* Trap the thread. */ }
  }
  Serial.println("SdCard successfully setup.");
  Serial.println();
}

void setup() {

    Serial.println("File could not be initialized."); 
  }
  else {
    file.println("Writing this to file.");
    file.close(); // Close when finished.
  }
}

//void printBmpData(void) {
//  Serial.print("Temperature = ");
//  Serial.print(bmp.temperature());
//  Serial.println(" °C");
//
//  Serial.print("Ambient pressure = ");
//  Serial.print(bmp.ambient_pressure());
//  Serial.println(" Pa");
//
//  Serial.print("Pressure altitude = ");
//  Serial.print(bmp.pressure_altitude());
//  Serial.println(" meters");
//  Serial.println();
//}

bool written = false;

void loop() {
  //printBmpData();
  Serial.println("in loop");
  if (!written) {
    write_to_sd();
    written = true;
