Added DocumentViewModel class