[KERNEL][MEM] Move memory related file to kernel/mem