add yamlfile class
clean up yaml class
Change Yaml class to module