Algebraic aspects of Tremblay-Turbiner-Winternitz Hamiltonian systems