Add a README and setup guide
cleaned up whitespace
make one error condition actually exit