improed code in utility classes and upgraded dependencies in pom.xml
file