Turned persistence.graph from a subsystem into a library package.