Implemented exit code reporter as a separate module