cifond: move all interop stuff into one place