code clean up and added comments
Changed the relative path for sample files
removed commented code
working on template saving features
added new constant for diagramtemplate path
removed template related code to its own templatefilemanager
working on change in view
corrected file path