move zip functionality to utility class for others to use