wip getting calls to work in kaleidoscope... continued
improve alloc interface