Title: Foundations of electromagnetic theory