error handling; add pyyaml to requirements; add requirements to readme