Text this: Hamiltonian mechanics of gauge systems