Added web.xml so that app can be packaged as standard war. Also made some changes to pom.