[feature][tidy] made the asynch io layer to be able to alloc memory dynamically

also updated the logs