refactor UI to provide basic navigation between SPA pages. Still needs work.