Feature/backend

Basic save document and contents