Implemented infrastructure. Now only allocator itself is remained