Reworked persistence with new library
'store', reworked edges, fixed json for edges