memdb core, server, tests