Topic memory store

Code review