Add Watchdog class
Extract method getReflectionClass