Added DocumentStatus object
Refactored storage backend: moved shared code into AbstractRestBackend