Classical theory of fields