Add status to Shell

This allows programmatic invocation of Shell.run and interrogation of results