Lifted out SpacePersistenceFactory

Checkpoint.  This is better-decoupled, and will eventually allow us to
pass a single factory into the SpaceManager for testing.