Move the templates out of views directory
Refactor modules into a shared js
Refactored the navigateTo and content replacement logic.
Merge branch 'module-refactor'