Implementation of Nodes. Unfinished (getType and some setters have yet to be implemented)