Reimplemented the list

Commit before getting rid of the old ListPointerT code
Replaced old code in ListPointerT