Wrote Readme and improved error catching