improved code in utility classes and upgraded some of dependencies in
pom.xml file