typo on class name fixed, and an exit code improvement added