new and improved makefile
implemented data, fixed memory leak in cookie and header