Cleaned up the code a bit. Added memory wrapper allocators.
Removed HandlerTable. Removed sub-port handlers support.
Added counters for aligned malloc.
Merge branch 'develop' into issue/2059