removed debug message
fixed method signature
Starting a daemon is not a client work...
use shutdown to gracefully exit from the reader thread
forgot to commit this file for fixing method signature
events are now per-child
open logfile only if deamonize
refcatoring tools to core and adding jni libs to the proper folder