Add example of main
Add example of main

Change-Id: I3324cda67fde8966b65253d0a0d8adf36e8ae3b3
Signed-off-by: Artur Troian <074b12614ab7f9e8d27abe59a593f8d13fab9fa5@gmail.com>

atmega/daemonize,atroian/daemonize