added documentation for low-level memory layout.