Name Space

updates so that there is a single global App object.
Merge branch 'app-namespace'