- refactored some variable names in io.c
- added doxygen to makefile
- more comments