From Hamiltonian Chaos to Complex Systems