WIP

Expose the node and history graphs in the public API
WIP continue to update the unit tests