Modified the mempool class and added a new memmap class. Also added testes for these classes