libframes: created if_frames, an API to libframes