Remove all memory leaks on successfull linker run, use linked lists for annotations