RE: Capacitor inline with plug
It's so you can extend the wires from the battery to the ESC or just improve the performance of the ESC. It stops a harmonic current that can damage the ESC. Low ESR (equivalent series resistance) capacitors can deliver a high current for a short time reducing the instantaneous current on the battery.