removed excess boilerplate code
changed page naming scheme in router/appView