init function

Initiate the yaml generation