Add REST API for author, document storage