Refactoring para nodo

Signed-off-by: Daniel Lindgren Fraga <daniel2k787@gmail.com>