added utility classes to perform operations on hashmap.