Rename from memory to util, and add debug.h