an event driven library using a graph database