Persistent storage + sync adapter (WiP)