Gravitation, electromagnetism and cosmology :toward a new synthesis