Feature/document writer