Update and rename kernel_segment.h to memory_segment.h