Node class implemented