modifications adding a servlet and modifying the application.xml file