Improving error handling.
Adding README.md