add debug stats for memory pools
Use reference counted slabs to allocate memory