Loading YAML input file, and create first functions