Rename mem.c to mem.h