Added --quiet option to surpress printing status codes. Moved status codes from stdout to stderr, updated tests accordingly