SMS: Principles of electrodynamics