Added in OOP functionality for Node class