fixed load yaml file method

Al cargar directamente con require da un warning en consola

>> Direct yaml files load via require() is deprecated! Use safeLoad() instead.