UID now use the link list system to store

While its not segfaulting any more its not working either so.. need to
work on that some more