included readme and started using up-to-date domain for error handling where applicable