Add document viewer and editor - small bugs and formating to do