Load yaml and use it as class variable