finally working, though working in a very broken way
WIP, adding h2/persistentamp for storage