Split memory management into a dedicated section.
The "helpers" section was too long