move threading into Node class