* Add int command to specify exit code wih a default of 0 * Re-structured to add tests * Refactor exit code selection