Lib works up to a point, trying new allocator
Finally working with defs as lib
New allocing