htools: start reorganising the IAllocator workflow