Refactoring in the node class

Refactoring in the node class and removal of some files that are generated at compile time and shouldn't be in the repository.