Fixed pool memory allocator - modified version of Eli Bendersky's "memmgr" library to allow multiple class-based memory pools.