Variational and Geometric Structures for Evolution