first draft of persistence modules integration