Hamiltonian and Lagrangian Dynamics: Volume 1