Fix typos
Change copy a bit
Change PID to uppercase
Add callbacks

Add four callback methods that are executed on starting and stopping the daemon. Update comments for methods and the README.