Fourier series: a modern introduction