moved all with-db calls into the "persistence" namespaces