Moved persistence to its own repository