Commented some of the lib functions and repaired the purge all connections function in the node class