added example daemon to ara_main.cpp