added parseArgs to main.c, added missing header to main.h