Add agwio.c and modify agw.h to work with agwio.c
Update gitignore so temporary files are not tracked