cflags, ldflags and comments added to makefile
library code (common.h, common.c) and some pipe impl. in router.c