adding servlet to pom.xml
refactoring Objects and matching name if there are two arguments of the same type