Cloud Computing cost and energy optimization through Federated Cloud SoS