fix Makefile
add daemon
so many changes