first order formalism= treated as independent
second order formalism= treated as christoffel symbols.
Equation of motion: .
for matter, use: define . Then .