Changed from leveldb to memory representation of experiences.