[WIP] Using single port set to record allocations.
[WIP] implemented high level concurrency-safe operations