Updated utility files

Updated utility files with comments and removed redundant methods.