Refactor Node into separate module.

Signed-off-by: Peter Atashian <retep998@gmail.com>