Added NodeProcessor

- Ported the node processing logic from Doctrine-Dbal into new class