Fixed use of streams. Using YAML_EXT constant for the extension. Changed get and all methods to static