A simple persistence agnostic repository implementation