Merge pull request #165 from bhattigurjot/master

fixes the issue for document's name
connects every document to its view
Merge pull request #166 from kamalpreetgrewal/master

connects every document to its view