refactor(allocator): move Allocator
into own module
#8656
+462
−452
Merged