Changes so that the app is now 'context' aware. So it can be deployed as an uberwar to a Tomcat server