Added Makefile
Refactored postman.c into more small functions, fixed all valgrind memory leaks.