basic version of document view
added barebones document view