Add argument handling
Add daemonize function
Add general makefile
Split log into dump