In episodes 3 and 4 we get that the Autobot and Decepticon factions predate Optimus and Megatron. So Megatron did not create the Decepticon faction here much like G1. This states a vast untold history in Prime. As Earth among others were battlefields. This makes it far unlikely Prime is connected to WFC and Exodus. Unless they make some unexpected revelation Optimus and Megatron are descendants of those Transformers in WFC and Exodus.