Cleaned up debug messages, changed ip registry to linked list