 
   // Initialize HW and JSON protocol code
   //Serial.println("Initilize Hardware");
-//  initBoardState(); // Assure a state
-  initBoardStateFromFile(BOARD_CONFIG_FILE_FULL_PATH); // Replace the state with the file, if available
+  initBoardState(); // Assure a state
+//  initBoardStateFromFile(BOARD_CONFIG_FILE_FULL_PATH); // Replace the state with the file, if available
   //delay(1000);
 
   //Serial.println("Starting WebSocket");

int g_iCatNumber = 0;
int g_iChangeSsid = 1;
int g_iWriteToFile = 1;

void loop()
{

// TESTING
  getSerialCommand(); 
  
  if (millis() - last_print > 1000)
  {
    // Save board state every ~1 sec
//   writeBoardStateToFile(BOARD_CONFIG_FILE_FULL_PATH);
      
    // Flush serial buffer
    //Serial.flush();  
      
    last_print = millis();
  }


    aJsonObject *pJsonConnections = aJson.getObjectItem(poMsg, "connections");
    if( pJsonConnections )  // Check if there is pin info
    {
//       Serial.println("Processing Connections");
      procConnMsg( pJsonConnections );        
    }
    else
