[WIP] InMemory adapter spike

@dkubb @mbj @snusnu Is this the right direction?