They're (energy and frequency) related by this equation: E = hf.
h is a constant of proportionality called Planck's constant, after the scientist Max Planck (research his work).
As for photons having momentum, consider this. E = hf, but E = mc^2 as well. Therefore the equivalent 'mass' of a photon is given by mc^2 = hf.
Furthermore, f = c/λ (c = speed of light, λ = wavelength)
So mc^2 = hc/λ
Continuing, we end up with λ = h/mc. Remember, momentum is the product of mass and velocity. Velocity in this case is c, the speed of light; the equation becomes λ = h/p. (p = momentum)
Note that the equation λ = h/p holds true for most forms of matter, not just photons.
Hopefully the above answers your first two questions.
I must admit I'm not quite sure how to explain your third question. What you're asking is beyond the scope of my current course of study. I'm sure someone who's a bit more qualified will help you out soon enough. Anyway, physics is awesome! Keep at it.