My implementation of memory managers