Split memory into its own header