working fetch for command data type; refactored ga & cache into their own modules