Build threding architecture

Adding threading call from Graph yoyo algorithm to Node function.