file cleanup
updated templates and styles
removed code redundancy from PageManager.js