Move memoryUserPersistor to its own file. Fix build.

Issue #DC-10 work 35m