public void StartClient(string fileName)
    {
        this.fileName     = fileName;
        bridgeActive      = false;
        transmittingFloat = 1;
        APImanager        = gameObject.AddComponent(typeof(APIManager)) as APIManager;
        APImanager.CustomAwake(this);
        Debug.Log("API Built");

        floatFile = gameObject.AddComponent(typeof(FloatFile)) as FloatFile;
        floatFile.ConnectToServer(this);
        cameraFeeds = new List <CameraFeed>();

        vesselControl = gameObject.GetComponent <VesselControl>();
        vesselControl.ControlAwake(this);
        //  Debug.Log("Vessel Control Initialized");

        roboticController = gameObject.GetComponent <RoboticController>();
        if (roboticController)
        {
            roboticController.CustomAwake(this);
            Debug.Log("Robotics Configured");
        }


        // debugWriteToSelf = GetComponent<KSPMechs.MechManager>().debugWriteToSelf;

        // SetFloat("TestFromClient" + fileName, 4);
        SetBool("ClientTransmitting" + fileName, true);

        //for (int i = 0; i < 1000; i++)
        //{
        //    SetFloat("test" + i.ToString(), i);
        //}
    }