renamed lib functions
introduced ixmap_lib.c