Update documentation, change parse_yaml to take string/file in order to
make testing easier.