Add library features for history adding and event triggers
Add provenance diagram