start working on --disable-deprecated

need to move im_conv() etc to classes to finish this