Web.xml changed in favour of java classes for servlet registering