some cleanups to ifg code, move ifg specific code to beifg.c
drwxr-xr-x - ir