This PR introduces the new memory prediction interface along with the corresponding Reader methods and an example (see the ExampleMemory).