Changed antPalette with the new function headers and added the antMem to inicialize