Added status handler to daemon