refactored nodebuilder

todo: refactor of compiler, separator