wrote doxygen style comments and also improved the working of modelViewer
added comments and improved coding standards
remaining files, improved code, checked coding standards