Fixed supervision tree and added event loggin funcitonality