yaml_read_agent function

Read a pointblank YAML file to create an agent object