Introduce MemoryPolicy API
WIP