Martingale Hardy Spaces And Their Applications In Fourier Analysis