Text this: Global Formulations of Lagrangian and Hamiltonian Dynamics on Manifolds