Added interface for node value. Still have to abstract it to be able to leave implementation to developer. Added several tests