Spin Chain Hamiltonians with Affine $U_q g$ symmetry