Removed web.xml and refractored not to use it