Cleaned up the code a bit. Added memory wrapper allocators.
Removed HandlerTable. Removed sub-port handlers support.
Added counters for aligned malloc.