Feature/memory pool

Improved version of ahbmalloc, needs testing before merge