CLEANUP: Cleaning up code

Patch Set 1: Created Utilities class to run repeated code out of
Patch Set 2: Added comment to Util class