preparing for full crud - backend
crud backend for documents and collections