Added MemoryProvider and MindQueryContext struct

This is intended to handle memory related queries from mind code