Moved variables to app.yaml as much as possible
Restyled pages
Updated use of environ variables, created event functions and
refactored strings.