Added ability to load a yaml file, and save current object state to a yaml file.