The SMILE daemon

#12Introduce a shutdown mechanism