Move Node class out into its own module.