[FEATURE] Port new memory layer plugin to core