Added basic admin operations for documents.
Added client for API server.