Initial commit of object storage rewrite.
Refactored persistence.