  On the quantum stage spacetime had the foam-like structure. When the Universe
cools the foam structure temperes and therefore the Friedman model represents
only the mean picture. We show that effects of the foamed structure we observe
now as the Dark Matter and Dark Energy phenomena. We also show that free
particles undergo a specific scattering on the foam-like structure. This
explains the origin of the diffuse component of the X-ray background and gives
a rather simple picture for the origin of Gamma-ray bursts.
