Foundations of plasma dynamics