move idelib functions into the idelib