improved utility classes and upgraded dependency in pom.xml file
improved code in utility classes