Wip initial doc

Implements put/get/delete initial document functionality, with tests
@rtrvrtg This module doesn't seem to be used at all. Can you double check that you need these functions and, if not, remove the module.