added simple daemon sample